package com.alan.socket;

import java.net.InetAddress;

/**
 * Created by Alan on 2017/8/5.
 */
public class InetAddressTest {

    public static void main(String[] args) throws Exception {

        InetAddress address = InetAddress.getLocalHost();

        System.out.println( address );

    }

}
